package com.ruoyi.machine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自助设备对象 sys_sim_device
 * 
 * @author laifolai
 * @date 2023-02-07
 */
public class SysSimDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    private Long deviceId;

    /** 设备SN */
    @Excel(name = "设备SN")
    private String sn;

    /** SIM卡容量 */
    @Excel(name = "SIM卡容量")
    private Long capacity;

    /** 启用状态 */
    @Excel(name = "启用状态")
    private Long enable;

    /** 支持的卡类型 */
    @Excel(name = "支持的卡类型")
    private Long support;

    /** 安装位置 */
    @Excel(name = "安装位置")
    private String position;

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }
    public void setCapacity(Long capacity) 
    {
        this.capacity = capacity;
    }

    public Long getCapacity() 
    {
        return capacity;
    }
    public void setEnable(Long enable) 
    {
        this.enable = enable;
    }

    public Long getEnable() 
    {
        return enable;
    }
    public void setSupport(Long support) 
    {
        this.support = support;
    }

    public Long getSupport() 
    {
        return support;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("sn", getSn())
            .append("capacity", getCapacity())
            .append("enable", getEnable())
            .append("createTime", getCreateTime())
            .append("support", getSupport())
            .append("position", getPosition())
            .toString();
    }
}
